Stochastic Local Search for Smt: a Preliminary Report
نویسندگان
چکیده
ion of φ and the “invisible” part τp is (the Boolean abstraction of) the set of the T -lemmas providing the obligations induced by the theory T on the atoms of φ. (We use the superscript p to denote the Boolean abstraction of a T -formula.) To this extent, a traditional “lazy” SMT solver can be seen as a DPLL solver which knows φp but not τp: whenever a model μp for φp is found, it is passed to a T -solver which knows τp and hence checks if μp falsifies τp: if this is the case, it returns one clause cp in τp which is falsified by μp, which is then used by DPLL to drive the future search and is optionally added to φp. The above observation inspired to us a procedure integrating a T -solver into a SLS algorithm of the WalkSAT family (WalkSMT hereafter). 3.1 A basic WalkSMT procedure A high-level description of the pseudo-code of WalkSMT is shown in Algorithm 2. (We present first a basic version WalkSMT, in which we temporarily ignore steps 1-3 and 12-13, which we will describe in §3.2, together with other enhancements.) WalkSMT receives in input a SMT(T ) CNF formula and applies a WalkSAT scheme to its Boolean abstraction φp. InitialTruthAssignment, ChooseUnsatisfiedClause and NextTruthAssignment are the functions described in §2.2. (Notice that their underlying heuristic vary with the different variants of WalkSAT adopted.) Ignoring steps 1-3 and 12-13, the only significant difference wrt. Algorithm 1 is in steps 7-14. Whenever a total model μp is found s.t. μp |= φp, it is passed to T -solver. If (the set of T -literals corresponding to) μp is T satisfiable (i.e., μp |= φp∧τp) the procedures ends returning sat. Otherwise, T -solver returns conflict and a T -lemma cp. Notice that this corresponds to say that μp 6|= φp∧τp, and that cp is one of the (possibly-many) clauses in
منابع مشابه
Document-Wide Decoding for Phrase-Based Statistical Machine Translation
Independence between sentences is an assumption deeply entrenched in the models and algorithms used for statistical machine translation (SMT), particularly in the popular dynamic programming beam search decoding algorithm. This restriction is an obstacle to research on more sophisticated discourse-level models for SMT. We propose a stochastic local search decoding method for phrase-based SMT, w...
متن کاملStochastic Local Search for Satisfiability Modulo Theories
Satisfiability Modulo Theories (SMT) is essential for many practical applications, e.g., in hardand software verification, and increasingly also in other scientific areas like computational biology. A large number of applications in these areas benefit from bit-precise reasoning over finite-domain variables. Current approaches in this area translate a formula over bit-vectors to an equisatisfia...
متن کاملImproving Local Search for Bit-Vector Logics in SMT with Path Propagation
Bit-blasting is the main approach for solving word-level constraints in SAT Modulo Theories (SMT) for bit-vector logics. However, in practice it often reaches its limits, even if combined with sophisticated rewriting and simplification techniques. In this paper, we extended a recently proposed alternative based on stochastic local search (SLS) and improve neighbor selection based on down propag...
متن کاملStochastic Local Search for SMT: Combining Theory Solvers with WalkSAT
A dominant approach to Satisfiability Modulo Theories (SMT) relies on the integration of a Conflict-Driven-Clause-Learning (CDCL) SAT solver and of a decision procedure able to handle sets of atomic constraints in the underlying theory T (T -solver). In pure SAT, however, Stochastic Local-Search (SLS) procedures sometimes are competitive with CDCL SAT solvers on satisfiable instances. Thus, it ...
متن کاملUsing a new modified harmony search algorithm to solve multi-objective reactive power dispatch in deterministic and stochastic models
The optimal reactive power dispatch (ORPD) is a very important problem aspect of power system planning and is a highly nonlinear, non-convex optimization problem because consist of both continuous and discrete control variables. Since the power system has inherent uncertainty, hereby, this paper presents both of the deterministic and stochastic models for ORPD problem in multi objective and sin...
متن کاملDevelopment of an Efficient Hybrid Method for Motif Discovery in DNA Sequences
This work presents a hybrid method for motif discovery in DNA sequences. The proposed method called SPSO-Lk, borrows the concept of Chebyshev polynomials and uses the stochastic local search to improve the performance of the basic PSO algorithm as a motif finder. The Chebyshev polynomial concept encourages us to use a linear combination of previously discovered velocities beyond that proposed b...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2009